package com.token.iot.bratterycharging.boss.web;

import java.util.Date;

import com.outstanding.framework.core.EntityObject;

public class Merchant extends EntityObject{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 248166100799744536L;

	private String agentId;
	
	private String mobile;
	
	private String name;
	
	private Long operId;
	
	private String password;
	
	private String code;
	
	private Date creatTime;
	
	
	private String province;
	
	private String city;
	
	
	private String agentName;
	
	
	
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getOperId() {
		return operId;
	}

	public void setOperId(Long operId) {
		this.operId = operId;
	}

	public String getAgentId() {
		return agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean vaildateForCreate() {
		if(this.agentId == null
			|| this.mobile ==null
			|| this.name ==null
				) {
			return false;
		}
		return true;
	}
	
	
	
}
